package com.young.shop.pojo.qo;

import java.math.BigDecimal;

/**
 * 修改参数封装
 */

public class UpdatePo {

    private BigDecimal productAmount;

    private Long productNum;

    private Long productId;

    public UpdatePo() {
    }

    public UpdatePo(BigDecimal productAmount, Long productNum, Long productId) {
        this.productAmount = productAmount;
        this.productNum = productNum;
        this.productId = productId;
    }

    public BigDecimal getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(BigDecimal productAmount) {
        this.productAmount = productAmount;
    }

    public Long getProductNum() {
        return productNum;
    }

    public void setProductNum(Long productNum) {
        this.productNum = productNum;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    @Override
    public String toString() {
        return "UpdatePo{" +
                "productAmount=" + productAmount +
                ", productNum=" + productNum +
                ", productId=" + productId +
                '}';
    }
}

